<%@ page contentType="text/html; charset=utf-8" language="java"%>
<%     
String path = request.getContextPath();     
// 获得本项目的地址(例如: http://localhost:8080/MyApp/)赋值给basePath变量     
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";     
%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<head>
	<base href=" <%=basePath%>"> 
	<script type="text/javascript" src="js/jquery-1.10.2.min.js"></script>
</head>  